package com.diver.flinkdemo.dto.xxt;

import java.io.Serializable;

/**
 * 轨迹信息
 * * Created by Cao Ye on 2018/07/05.
 */
public class NewRecordInfo implements Serializable {
    // 序列化版本
    private static final long serialVersionUID = -7059103537844076544L;

    private String tips;

    //纬度
    private String latitude;

    //经度
    private String longitude;

    //时间戳
    private Long timeStamp;

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public Long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(Long timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        if ("deviationTrajectory".equals(tips)) {
            this.tips = "轨迹偏离";
        } else if ("longStay".equals(tips)) {
            this.tips = "长时间停留";
        } else {
            this.tips = tips;

        }
    }
}
